﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity
{
    /// <summary>
    /// 角色与菜单关联
    /// </summary>
    public class MenuRole
    {
        /// <summary>
        /// 角色与菜单关联编号
        /// </summary>
        [Key]
        public int MRid { get; set; }
        /// <summary>
        /// 菜单编号
        /// </summary>
        public int Mid { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public int Rid { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsData { get; set; } = false;
    }
}
